﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpSphinx.Util.Configuration
{
    public abstract class ConfigurableAdapter  : IConfigurable
    {

        private String name;
    //  protected Logger logger;

        public ConfigurableAdapter()
        {

        }

        protected void initLogger()
        {
            

        }

        public  override void newProperties(PropertySheet ps) {
            
        }

        private void init(String name /*, Logger logger*/)
        {
            this.name = name;
           // this.logger = logger; 
        }

        public string getName()
        {
            return name != null ? name : ToString();
        }


        public override String ToString()
        {
            return ToString();
        }
    }
}
